package com.camel.base.feign;

import com.camel.core.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.io.Serializable;

/**
 * @author 86183
 */
@FeignClient(value = "system", path = "system", contextId = "company")
public interface SysCompanyService {

    @GetMapping("/sysCompany/get")
    Result details(@RequestParam("id") Serializable id);
}
